package cn.tedu.pojo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author :Colin
 * @version 创建时间: 2021/7/17 10:22
 */

public class User {
    private String name="肖战";

    private Dept d;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Dept getD() {
        return d;
    }

    public void setD(Dept d) {
        this.d = d;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", d=" + d +
                '}';
    }
}
